package com.example.xd.tuiliu_test.videoplayer.widget;

import android.content.Context;
import android.util.AttributeSet;

public class NoControllerPlayerView extends InitByOtherPlayerView {
    public NoControllerPlayerView(Context context) {
        super(context);
    }

    public NoControllerPlayerView(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public NoControllerPlayerView(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    @Override
    public void fullScreen() {

    }

    @Override
    public void exitFullScreen() {

    }

    @Override
    protected void initView() {
        super.initView();
        getChildAt(0).setVisibility(INVISIBLE);
    }


    @Override
    public void onStart() {
        status.play();
    }
}
